#include <iostream>
#include<windows.h>
using namespace std;
int main() {
    long long head, tail, freq;
    int n;
    cin >> n;
    int** b = new int* [n];
    for (int i = 0; i < n; i++) {
        b[i] = new int[n];
    }
    for (int i = 0; i < n; i++) {
        for (int j = 0; j < n; j++) {
            b[i][j]=1;
        }
    }
    int* a = new int[n];
    for (int i = 0; i < n; i++) {
        a[i]=1;
    }
    double* sum = new double[n];
    QueryPerformanceFrequency((LARGE_INTEGER *) & freq);
    QueryPerformanceCounter((LARGE_INTEGER *) & head);
    for (int i = 0; i < n; i++)
        sum[i] = 0.0;
    for (int j = 0; j < n; j++)
        for (int i = 0; i < n; i++)
        sum[i] += b[j][i] * a[j];
    for (int i = 0; i < n; i++) {
        cout << sum[i] << " ";
    }
    cout << endl;
    QueryPerformanceCounter((LARGE_INTEGER *) & tail);
    cout << "Col:" << (tail - head) * 1000.0 / freq<< "ms" << endl;
    return 0;
}